package com.yangff.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.yangff.entity.product.entity.Financialproduct;
import com.yangff.entity.product.entity.dto.AutoStockDTO;
import com.yangff.entity.product.entity.dto.FinancialproductDTO;
import com.yangff.entity.product.entity.vo.ProductVo;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * <p>
 * 存储各种理财产品的详细信息 服务类
 * </p>
 *
 * @author yangff
 * @since 2025-01-15
 */
public interface IFinancialproductService extends IService<Financialproduct> {

    Financialproduct CreateRandomStock(AutoStockDTO stockDTO);

    Financialproduct updateFinancialproductByCode(@RequestBody FinancialproductDTO financialproductDTO);

    IPage<Financialproduct> selectByTypeWithFundnetvalue(Page<Financialproduct> page, String type);

    Page<ProductVo> getProductList(Page<Object> of, String valueOf);
}
